<%layout("/common.html"){%>
<div class="box-header with-border">
	<div class="box-title">
		<i class="fa fa-user-o" style="font-size:12px;color:#6495ED;padding:0px 7px 0px 5px;"></i>
		<i style="font-size:16px">新增固定资产</i>
		<li class="long-gray-underline"></li>
	</div>
	<div class="box-title">
		<i class="font-italic" style="font-size:15px;color:#1e5edb;padding:0px 7px 0px 26px;">基本信息</i>
		<div class="box-tools pull-right">
			<button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i></button>
		</div>
		<li class="short-gray-underline"></li>
	</div>
</div>
<div class="form-content">
	<div class="form-horizontal" id="form">
		<input type="hidden" id="id" value="">
		<input type="hidden" id="deptId" value="">
		<input type="hidden" id="parentId">
		<!-- 第一行 -->
		<div class="row">
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">资产编号：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assCode"/>
		                    
					</div>
				</div>
			</div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">* 资产名称：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<!-- <input type="text" id="phone" name="phone" value="" maxlength="32" class="form-control required " aria-required="true"> -->
						<#form:input id="assDeviceName" class="required"/>
					</div>
				</div>
			</div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">* 申请金额：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="amount" type="number" class="required"/>
					</div>
				</div>
			</div>
		</div>
		<!-- 第二行 -->
		<div class="row">			
			<div class="col-xs-4">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">资产分类：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-8">
		                <#form:input type="text" id="assType" iconClass="btn-input-search" icon="fa-search" value="" onclick="addParentLayer('/role/tree/','分类选择树')"/>
	                </div>
                </div>
            </div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">资产性质：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assBudget"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-4">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">品牌：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-8">
		                <#form:input type="text" id="assBrand" />
	                </div>
                </div>
            </div>
		</div>
		
		<!-- 第三行 -->
		<div class="row">			
			<div class="col-xs-4">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">使用日期：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-8">
		                <#form:input type="text" id="assStartDate" type="date" clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>
	                </div>
                </div>
            </div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">购置日期：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assPayTime" type="date" clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">资产型号：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assSpeType"/>
	                </div>
				</div>
			</div>
		</div>
		
		<!-- 第四行 -->
		<div class="row">			
			<div class="col-xs-4">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">资产数量：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-8">
		                <#form:input type="text" id="assCount" />
	                </div>
                </div>
            </div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">供应商：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="pmsSupplierName"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">存放地点：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assPlace"/>
	                </div>
				</div>
			</div>
		</div>
		
		<!-- 第五行 -->
		<div class="row">			
			<div class="col-xs-4">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">使用年限：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-8">
		                <#form:input type="text" id="assUseLife" />
	                </div>
                </div>
            </div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">生产厂商：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assManufacturer"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">保修截止日期：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assWarExpirationDate" type="date" clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>
	                </div>
				</div>
			</div>
		</div>
		
		<!-- 第六行 -->
		<div class="row">			
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">序列号：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assSerial"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">来源方式：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assDeviceOriginType"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">使用类型：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assUseType"/>
	                </div>
				</div>
			</div>
		</div>
		
		<!-- 第七行 -->
		<div class="row">			
			<div class="col-xs-4">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">批次号：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-8">
		                <#form:input type="text" id="assBatch" />
	                </div>
                </div>
            </div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">验收单号：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="pmsAcceptNumber"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">计量单位：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assUtil"/>
	                </div>
				</div>
			</div>
		</div>
		
		<!-- 第八行 -->
		<div class="row">			
			<div class="col-xs-4">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">原资产编码：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-8">
		                <#form:input type="text" id="assOriginalCode" />
	                </div>
                </div>
            </div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">录入日期：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assEnteringDate" type="date" clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-4">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">录入人：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assEntry"/>
	                </div>
				</div>
			</div>
		</div>
		
		<div class="box-title">
			<i class="font-italic" style="font-size:15px;color:#1e5edb;padding:0px 7px 0px 26px;">管理信息</i>
			<li class="short-gray-underline"></li>
		</div>
		
		<!-- 第一行 -->
		<div class="row">			
			<div class="col-xs-2">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">使用人：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assCustodiansCode"/>
	                </div>
				</div>
			</div>
            <div class="col-xs-2">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">产品线：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assProductLine"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-2">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">类别：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-8">
		                <#form:input type="text" id="assUseCategory" />
	                </div>
                </div>
            </div>
			<div class="col-xs-2">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">用途：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assUsed"/>
	                </div>
				</div>
			</div>
            <div class="col-xs-2">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">状态：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assSituationName"/>
	                </div>
				</div>
			</div>
            
            <div class="col-xs-2">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">备注：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-8">
						<#form:input id="assRemarks"/>
	                </div>
				</div>
			</div>
		</div>
		
		<!-- 第二行 -->
		<div class="row">			
			<div class="col-xs-3">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">发票日期：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-6">
		                <#form:input type="text" id="assInvoiceDate" type="date" clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>
	                </div>
                </div>
            </div>
			<div class="col-xs-3">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">发票号：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-6">
						<#form:input id="assInvoiceNo"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-3">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">报废日期：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-6">
						<#form:input id="assScrapDate" type="date" clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-3">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">入账日期：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-6">
		                <#form:input type="text" id="emsRecordedDate" type="date" clickFun="laydate({istime: false, format: 'YYYY-MM-DD'})"/>
	                </div>
                </div>
            </div>
            <div class="col-xs-3">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">入账编号：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-6">
						<#form:input id="emsMarkId"/>
	                </div>
				</div>
			</div>
		</div>
		
		
		<!-- 第三行 -->
		<div class="row">			
			<div class="col-xs-3">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">项目名称：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-6">
		                <#form:input type="text" id="assProjectName" />
	                </div>
                </div>
            </div>
			<div class="col-xs-3">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">资金来源：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-6">
						<#form:input id="assSource"/>
	                </div>
				</div>
			</div>
			<div class="col-xs-3">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">预算部门：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-6">
						<input type="hidden" id="assBudgetDepartmentCode"/>
						<#form:input type="text" id="assBudgetDepartment" iconClass="btn-input-search" icon="fa-search" value="" onclick="addParentextendLayer('/department/tree/','assBudgetDepartmentCode','assBudgetDepartment','4','预算部门选择树')"/><!-- 当前获取的是河北公司部门，如若获取全部将4换成0，如若获取河北公司id是4;天津公司id是20;广东公司id是2 -->
	                </div>
				</div>
			</div>
			<div class="col-xs-3">
                <div class="input-group">
	                <label class="control-label col-sm-4" title="">使用部门：<i class="fa icon-question hide"></i>
					</label>
	                <div class="col-sm-6">
	                	<input type="hidden" id="pmsPurDepartCode"/>
		                <#form:input type="text" id="pmsPurDepartName" iconClass="btn-input-search" icon="fa-search" value="" onclick="addParentextendLayer('/department/tree/','pmsPurDepartCode','pmsPurDepartName','2','使用部门选择树')"/><!-- 当前获取的是广东公司部门，如若获取全部将2换成0，如若获取河北公司id是4;天津公司id是20;广东公司id是2 -->
	                </div>
                </div>
            </div>
			<div class="col-xs-3">
				<div class="input-group">
					<label class="control-label col-sm-4" title="">资产账套：<i class="fa icon-question hide"></i></label>
					<div class="col-sm-6">
						<#form:input id="assAccount"/>
	                </div>
				</div>
			</div>
			
		</div>
		
		<!-- 第四行 -->
		<div class="row">
			<div class="col-xs-12">
				<div class="input-group">
					<label class="control-label col-sm-4" >
						 审批意见：<i class="fa icon-question hide"></i>
					</label>
					<div class="col-sm-8">
						<textarea class="input-xxxlarge" name="comment" id="comment"></textarea>
					</div>
				</div>
			</div>
		</div>
	</div>
	
	
	<div class="row">
		<div class="button">
			<#form:button class="btn btn-info" name="发起流程" id="submit" icon="fa-check" onclick="submitPage('/assStorage/save')"/>
			<#form:button class="btn btn-default" name="关闭" id="cancel" icon="fa-mail-reply-all" onclick="closePage()"/>
		</div>
	</div>
</div>
<script type="text/javascript" src="${ctxPath}/js/flowable/demo/storage/assStorage.js"></script>
<%}%>
